<?php

/*
 * Progress bar of upload progress
 *
 *
 * @package BABEL
 * @since   BABEL 0.1.0
 * @version $Id: upload.php 766 2008-05-14 08:52:59Z bjori $
 * @copyright Copyright (C) 2008 Hannes Magnusson
 * @author  Hannes Magnusson
 * @license LGPL
 */


if($_GET['progress_key']) {
	$status = apc_fetch('upload_'.$_GET['progress_key']);
	echo json_encode($status);
	exit;
}

